package cn.wolfcode.car.business.service;
import cn.wolfcode.car.business.domain.Statement;
import cn.wolfcode.car.business.query.StatementItemQuery;
import cn.wolfcode.car.business.query.StatementQuery;
import cn.wolfcode.car.common.base.page.TablePageInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.poi.ss.usermodel.Workbook;

import java.math.BigDecimal;
import java.util.List;

public interface IStatementService extends IService<Statement> {

    /**
     * 分页
     * @param qo
     * @return
     */
    TablePageInfo<Statement> query(StatementQuery qo);

    void updateOtherPrice(Long userId, Long id, BigDecimal totalAmount, BigDecimal totalQuantity, BigDecimal discountPrice);

    void updatePayStatementItem(Long statementItemId);

    Workbook exportOP(StatementItemQuery qo);
}
